var myChartLine = echarts.init(document.getElementById('main-line'));    
optionLine = {
    tooltip : {
        trigger: 'axis'
    },       
    calculable : true,
    xAxis : [
        {
            type : 'category',
            boundaryGap : false,
            data : ['11-1','11-2','11-3','11-4','11-5','11-6','11-7']
        }
    ],
    yAxis : [
        {
            type : 'value'
        }
    ],
    series : [
        {
            name:'成交',
            type:'line',
            smooth:false,
            itemStyle: {normal: {areaStyle: {type: 'default'}}},
            data:[250, 300, 500, 900, 800, 900, 710],
            markPoint : {
                data : [
                    {type : 'max', name: '最大值'}
                ]
            },
        },
    ]
};
 
myChartLine.setOption(optionLine, true); //显示国家地图